﻿using System;

using BlackJack.Base.Commands;

namespace BlackJack.Base.Multicast
{
    public interface IGateway
        : IDisposable
    {
        event EventHandler Joined;

        event EventHandler BeforeClose;

        event EventHandler<CommandEventArgs> CommandRecieved;

        void Send<T>(ICommand<T> command);
    }
}
